package com.example.signtime.modules.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class SignTimeVO {
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date signDate;
    @ApiModelProperty("签退时间")
    private Date signOutTime;
    @ApiModelProperty("时辰，早晨0，下午1，晚上2 凌晨3")
    private Integer periods;
    @ApiModelProperty("时辰中文")
    private String periodsInfo;
}
